From: Florian Müllner Date: Wed, 18 Sep 2013 20:36:17 +0000 (+0200) Subject: networkAgent: Don't allow ellipsization of Password label X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3381 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=39134f0d9ba312482f15a06f43d2c6bf30398ec8;p=gnome-shell.git networkAgent: Don't allow ellipsization of Password label We don't want password entries to grow when entering more characters that fit the available width; as labels' ClutterText ellipsizes by default, the password labels allow entries to grow by shrinking. Setting the appropriate ellipsize mode fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=708324 --- diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 63c8bb77a..6a9656890 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -83,6 +83,7 @@ const NetworkSecretDialog = new Lang.Class({ let secret = this._content.secrets[i]; let label = new St.Label({ style_class: 'prompt-dialog-password-label', text: secret.label }); + label.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; let reactive = secret.key != null;